package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.OrderDetail;
import com.itheima.pojo.Orders;

public interface OrdersService extends IService<Orders> {

    // 用户下单
    void submit(Orders orders);

    // 查询订单明细
    Page<Orders> pageOrders(Integer page, Integer pageSize, String number,String beginTime,String endTime);

}
